//
//  AppDelegate.m
//  iOS07-Weibo-LPK-OC
//
//  Created by 罗培克 on 6/28/15.
//  Copyright © 2015 lpk. All rights reserved.
//

#import "AppDelegate.h"
#import "MainViewController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    [self setUpAppearance];
    
    self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor = [UIColor whiteColor];
    
    MainViewController *tabC = [[MainViewController alloc]init];
    self.window.rootViewController = tabC;
    
    [self.window makeKeyAndVisible];
    
    return YES;
}

/// 设置外观代理
- (void)setUpAppearance {
    [UITabBar appearance].tintColor = [UIColor orangeColor];
    [UINavigationBar appearance].tintColor = [UIColor orangeColor];
}

@end
